Exporting responsive designs from a graphical design tool

ABSTRACT

Embodiments of the present invention provide tools and methods for the development and specification of a responsive graphical design. A graphical design environment allows a user to specify a design. The graphical design environment has a window for displaying a rendering of the design. A dimension specification interface allows the user to specify a dimension specification. A widget interface allows a user to add a widget to the design and specify a first state and a second state for the widget. An export interface allows a user to export the design from the tool to produce an exported design. The exported design utilizes an object model event to adjust a state of the widget from a first state to a second state.

BACKGROUND OF THE INVENTION

Responsive graphical design tools have risen in importance alongside the proliferation of different screen sizes used by the general public to render and consume graphical media. Responsive design tools and techniques are of particular importance for the design of web pages and web sites. As nearly every electronic device is now capable of accessing the Internet, and people are becoming less tolerant of small screen sizes serving as a hindrance to their web browsing experience, a web design process flow must take varying screen size into account from start to finish. Furthermore, media consumers expect to be able to manipulate the size of individual windows on a screen to allocate a desired amount of screen real estate to different windows based on their relative importance. As a result, the responsiveness of a graphical design must be taken into account even if the design is intended for consumption on a single device. Finally, certain devices are capable of rendering a design in different orientations such as portrait and landscape orientations. It is therefore desirable to have different versions of a design specified for each of these orientations.

Responsive web design generally involves two main steps. First a set of dimension specifications are provided by a designer. These dimensions specifications will serve either to define a target dimension at which a particular version of the design will be rendered, or as trigger points at which the design will switch from one version to another. For example, a designer may specify a version of a design for a smart phone screen with a 3.5 inch diagonal and another version of a design for a tablet screen with a 10 inch diagonal; or a designer may specify a design to switch from one version to another when a rendering space in a browser window is decreased in size below a width of 10 inches. FIG. 1 illustrates a responsive design as specified for a smart phone screen in portrait orientation 100 and in landscape orientation 101. The portrait orientation 100 and landscape orientation 101 each display different dimension versions of a single responsive design. Note that the hero image 102, title text 103, and link list 104 in portrait orientation 100 are laid out in an entirely different configuration as hero image 105, title text 106, and link list 107 in landscape orientation 101.

Regardless of how the different dimensions are selected or delineated, the increase in required design effort for the responsive design rises in proportion to the number of different sizes for which a design must be specified. The work required to specify the responsive design shown in portrait orientation 100 and landscape orientation 101 is nearly double the work required to specify a single nonresponsive design. Graphic designers and developers have found themselves faced with the difficult task of producing various versions of the same designs that are optimized for different rendering spaces. Responsive graphical design tools seek to ease the burden of specifying all of these different versions.

Related approaches to responsive graphical design have included automated procedures for modifying a design such as reducing white space between design elements, reducing font sizes, and reducing image sizes automatically as the rendering space afforded for the design is reduced. Other approaches have focused on alleviating the manual specification processes by copying the design automatically from one dimension version into an area used to specify a different dimension version of the design. For example, the design elements in portrait orientation 100 in FIG. 1 would be copied automatically by the tool into a landscape orientation design window automatically as soon as the designer requested the ability to define a landscape version of the design. The result would be something like what is shown in landscape orientation 108. The graphical designer would then be able to rearrange and resize the copied elements in the new design window to create the version shown in landscape orientation 101

SUMMARY OF INVENTION

In one embodiment of the invention, a system is provided that includes an instantiation of a design for rendering in a rendering space. The instantiation uses an encoding including markup language code and a script. The system also includes a widget that forms a portion of the design. The widget is encoded in the encoding. The system also includes an export module for generating the encoding from a specification of the design. An object model event is utilized to sense a change in a rendering space dimension and change the widget to a predefined state.

In another embodiment of the invention, a method is provided that includes rendering a graphical design to allow for a display of the graphical design in a window having an adjustable dimension, the graphical design includes a widget and is encoded in an encoding. The method also includes rendering the widget in the graphical design in a first state. The method also includes detecting an adjustment to the adjustable dimension from a first dimension to a second dimension using an object model event. The method also includes executing, upon detecting the adjustment, an event handler javascript function. The method also includes rendering the widget in the graphical design in a second state in response to the executing step. The second state is selected by the processor based on a comparison of the second dimension and a set of preset dimension specifications. The javascript function is encoded in the encoding.

In another embodiment of the invention, a tool for designing a web page prototype is provided. A graphical design environment allows a user to specify a prototype. The graphical design environment has a window for displaying a rendering of the prototype. A dimension specification interface allows the user to specify a dimension specification. A widget interface allows a user to add a widget to the prototype and specify a first state and a second state for the widget. An export interface allows a user to export the prototype from the tool to produce an exported prototype. The exported prototype utilizes an object model event to adjust a state of the widget from a first state to a second state.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates different versions of a responsive graphical design as found in the related art.

FIG. 2 illustrates a graphical user interface for a graphic design tool that is in accordance with embodiments of the present invention.

FIG. 3 illustrates a flow chart of a method for allowing a user to specify a responsive design that is in accordance with embodiments of the present invention.

FIG. 4 a-b illustrate graphical user interfaces for a graphic design tool to illustrate certain aspects of embodiments of the present invention.

FIG. 5 illustrates a flow chart of a method for displaying the responsiveness of a design that is in accordance with embodiments of the present invention.

FIG. 6 illustrates a flow chart of a method for specifying a design using masters with responsive widgets that is in accordance with embodiments of the present invention.

FIGS. 7 a-d illustrate different versions of a responsive graphical design to illustrate certain aspects of embodiments of the present invention.

FIG. 8 illustrates a flow chart of a method for specifying a design using container widgets in masters that is in accordance with embodiments of the present invention.

FIG. 9 a-f illustrate different versions of a responsive graphical design to illustrate certain aspects of embodiments of the present invention.

FIG. 10 illustrates a flow chart of a method for specifying a design using different editing modes that is in accordance with embodiments of the present invention.

FIG. 11 illustrate different portions of an exported instantiation of a responsive graphical design having a dimension version selector that is in accordance with embodiments of the present invention

FIG. 12 illustrates a flow chart of a method for exporting and displaying an instantiation of a responsive graphical design that is in accordance with embodiments of the present invention.

FIG. 13 illustrates a flow chart of a method for rendering a responsive graphical design that is in accordance with embodiments of the present invention.

FIG. 14 illustrates a block diagram of a computer system that can be used in accordance with embodiments of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Reference now will be made in detail to embodiments of the disclosed invention, one or more examples of which are illustrated in the accompanying drawings. Each example is provided by way of explanation of the present technology, not as a limitation of the present technology. In fact, it will be apparent to those skilled in the art that modifications and variations can be made in the present technology without departing from the spirit and scope thereof. For instance, features illustrated or described as part of one embodiment may be used with another embodiment to yield a still further embodiment. Thus, it is intended that the present subject matter covers all such modifications and variations within the scope of the appended claims and their equivalents.

The invention relates generally to responsive graphical design, and more specifically to the design of responsive web page prototypes. As described above, responsive graphical design creates additional work for the graphic designers in proportion to the responsiveness of the design. In the solutions described above with reference to FIG. 1, the landscape design was copied into the area used to specify the portrait design. This approach might save time in the initial set up process for each design size. However, after the copying step is completed, all the benefits to efficiency attributable to those solutions will have been expended. If, at a later time, a project manager decides that a design element needs to be modified, the modification will need to be manually conducted on each of the separate designs. For example, if a manager decides that the title text on each page should be green instead of black, a graphic designer will have to load the landscape design 101, modify title text 106, load portrait design 100, and modify title text 103.

Embodiments of the present invention alleviate the problem described above by making each design element a single editable entity across the entire design. As such, a designer would only need to change title text 106 from green to black, and title text 103 would also change because they are the same object viewed at different sizes. This benefit is compounded by the use of responsive masters that propagate changes to multiple pages of a design with a single edit. In keeping with the example of FIG. 1, it is likely that hero image 105 and title text 106 remain on every page of the web site. Embodiments of the present invention allow for the usage of a master that would include these design elements on each page of the website and would allow any modification of the master to propagate to every instance of the master on all the other pages of the design.

The benefits described in the preceding paragraph are provided, at least in part, through the use of responsive widgets, masters containing responsive widgets, and masters that are themselves responsive. Responsive widgets can be added into a design and are specified such that there characteristics can have various states for various dimension versions. Since the same widget is rendered in each of the dimension versions, an edit made to the widget at one design size can be propagated automatically to all of the other dimensions. Embodiments of the invention also allow a user to limit a particular modification from affecting the widget at other dimension versions by providing methods of switching between all-dimension, one-dimension, and multi-dimension editing modes. In addition, masters can be included in the design to propagate changes through different pages of a design. The masters may also include responsive container widgets that are configured to store different widgets on different pages of the same design. Masters serve to limit design efforts associated with responsive web design because a modification made to one object in a graphic design can be automatically propagated to a multitude of instances of the object. Finally, responsive masters can be added into a design and are specified such that their characteristics can have various states for various dimension versions.

In related approaches, a design is made responsive through the use of media queries. Media queries are embedded in the code of a web page and are known to standard web browsers. A browser will recognize the media queries when rendering a page, and load a specific style sheet for the design when the media query is affirmatively evaluated by the browser. The media query can specify a particular width for a rendering space, a particular height for a rendering space, a color rendering capability of a device, etc. If the rendering space provided by a browser rendering the design meets any of the specified characteristics, a particular style sheet can be loaded in response to alter the design. For example, a media query could be set to lower the font size associated with a particular widget if the width of the screen being used to render the design decreased below a certain predefined width. Media queries offer a way to provide responsiveness to a design that is already built in to hyper-text markup language (HTML) and cascading style sheets (CSS). However, media queries are somewhat limiting because they can only be used to adjust a style sheet. As a result, they do not provide for more involved responsive web design such as the ability to alter the interactivity of a design element.

Embodiments of the present invention provide web site designs with responsive characteristics through the use of object model event handlers that allow users to produce web site prototypes with a more involved degree of responsiveness. The object model event can treat the web page as its object and can listen to the resizing of the page. If the page is resized, the object model event can trigger an event handler in the form of a script that modifies any desired characteristic of a design element. For example, the script could be a javascript used to change the URL of a web page that a widget links to. In other words, a widget could link to one page when it is rendered in a first dimension version and link to a different page when it is rendered in a second dimension version.

In related approaches, elements in a design are made responsive by stacking elements in the rows and columns of a grid, specifying margins for the grid, and then making the margins and row/column locations responsive. For example, the specification for the title text 106 in landscape design 101 in FIG. 1 would be defined as: column 2, row 1, margin 33%; whereas the specification for the title text 103 in portrait design 100 would be: column 1, row 1, margin 50%. For more complex examples, the effort associated with keeping track of the relative positioning inputs becomes prohibitively difficult—particularly for graphic designers that are less technically inclined.

Embodiments of the present invention provide web site designs with responsive widgets that respond based on a predefined absolute position of where the widget should be located on a web page. The resulting scheme for specifying widget locations is much more intuitive than one based on relative positioning and makes the design of interactive responsive web design much easier on the designers and developers involved. The absolute positions can be specified in terms of x- and y-coordinates using various possible units including metric distance units such as centimeters, US distance units such as inches, and design-specific units such as pixels.

Design Environment: Responsive Interactive Widgets

Embodiments of the present invention provide tools and methods for specifying a responsive graphical design. In specific embodiments of the invention, the responsive graphical design can be a responsive web page prototype. The graphical design tool can allow a user to specify design elements such as widgets for inclusion in the graphical design. The widgets can be interactive. The graphical design tool can also allow a user to specify dimension specifications for the design.

Dimension specifications refer to rendering space dimensions and are used by the responsive design to determine which dimension version should be rendered given a particular available rendering space. A dimension specification can serve as a trigger point that defines a dimension at which the design switches from being rendered according to one dimension version to being rendered according to another dimension version. For example, a dimension specification could specify a browser window width of 5 inches, and could be used by the responsive design to render a first dimension version when the browser window width was less than 5 inches and a second dimension version when the browser width was greater than 5 inches. A dimension specification can also serve as a target dimension that defines a specific set dimension at which different dimension versions of the design should be rendered.

Once a user has specified at least one dimension specification and at least one widget, the graphical design tool can allow a user to specify different states for the widget for different dimension versions of the design. In other words, the widget may have a first state in one dimension version of the design and a second state in another version of the design. The transformation of the widgets and design elements from one state to another is what provides the design with its responsiveness. Examples of these tools and methods are described below with reference to FIGS. 2-5.

A tool for designing a responsive graphical design can be described with reference to FIG. 2. FIG. 2 illustrates a graphical design environment 200 that allows a user to specify a responsive graphical design. Graphical design environment 200 includes a window 201 for displaying a rendering of the responsive graphical design. In specific embodiments of the invention, window 201 will be configured to display the various specified dimension versions of the design. For example, the window could be used to display a Smart Phone dimension version of the design and then be used to display a Tablet dimension version of the design. However, the design environment could also include a gallery of windows that simultaneously displayed a version of each dimension version of the design. A user could also be able to add and remove different dimension versions from the gallery at will. The tool could also add a dimension version to the gallery automatically each time an additional dimension specification was added to the design.

Graphical design environment 200 also includes a widget interface 202. The widget interface allows a user to add a widget to the window 201. A widget can be any design element associated with the design including a button, a pull-down menu, a hyperlink, a text box, or a page. In specific embodiments of the invention, the widget can be added by dragging and dropping a widget from widget menu 203 into window 201. The widget interface also allows a user to specify states for a widget by providing values for specific properties. A widget state is defined by a set of values for each of that widget's properties. In specific embodiments of the invention, the values can be entered via text inputs to widget interface 202. However, widgets could also be added using a drop down menu or through the use of keyboard commands. The values for specific states could be provided in a separate interface as in FIG. 2 or they could be specified directly in a window such as window 201 by a user clicking on a specific element to bring up an interface in window 201 itself. Such a selection could utilize a special selection action such as a right-click with a mouse or the depression of a special key during selection of a widget to distinguish the selection from a standard selection in which the widget is positioned in window 201.

Graphical design environment 200 also includes a dimension specification interface 204 that allows a user to specify a dimension or set of dimensions to be used to delineate various dimension versions. In specific embodiments of the invention, the dimension specification interface will include buttons 205 to select different dimension versions. As shown in FIG. 2, a user is able to choose between a Smart Phone dimensions version and a Default dimension version by selecting different buttons 205. In specific embodiments of the invention, when these buttons are selected, window 201 will display the selected dimension version. When the design appears in window 201 it will be rendered according to that dimension version. In specific embodiments, the dimension version that is displayed in window 201 will generally be the dimension version to which edits to the design are applied as they are received from the user. As shown in FIG. 2, dimension specification interface 204 includes two dimension versions: Default and Smart Phone. These dimension versions and others may be available in the design environment before a user begins specifying a design. However, dimension specification interface 204 may also allow users to specify and add additional dimension specifications and create additional dimension versions. Furthermore, a user may begin specifying a design before any dimension specifications are received such that a design may be completely specified in a non-responsive state before dimension specifications are added to a dimension specification interface and the responsive design processes ensues.

Additional dimension specifications and dimension versions can be added in various ways. The user could enter the dimension values textually into a dimension specification interface and then click an entry button to store the dimension specification. The entry of a dimension specification could automatically create a corresponding dimension version. The dimension specification interface could also allow users to label each dimension version. The dimension specification interface could also provide users with a predefined set of dimension versions such as a Smart Phone target size, a Tablet target size, and a Desktop target size. The dimension specification could also allow users to specify a dimension specification based on a current size of a window such as window 201. In embodiments in which window 201 is an adjustable window, the user could adjust the size of window 201 to a given size and then enter a command in a dimension specification interface to store a new dimension specification based on the current size of the adjustable window. Using FIG. 2 as an example, a ruler could be displayed along the edge or edges of window 201 to display the current size of the window as it is being adjusted to facilitate this process. The rulers could alternatively be placed on the edge or edges of the graphical design tool 200 to serve the same purpose. The saved dimension specification could be a scaled version of the actual size of the adjustable window. The scaling factor could be configurable by the user.

Widget interface 202 may allow a user to specify states for each widget in a design and associate each of those states with a particular dimension version. A state can be associated with a different dimension version in various ways. For example, a user could specify that hero image 206 will appear at a specific set of x- and y-coordinates on the web page in a first state, and a second set of x- and y-coordinates on the web page in a second state. This particular specification could be accomplished using an absolute position specification interface 207. The absolute position specification interface could have an x-input and y-input used to specify the location of the widget in the design for a given dimension version. However, the inputs do not need to be in separate entries as shown in the FIG. 2 as both could be input at a single prompt separated by a comma or another indicator. Furthermore, the absolute position interface could have numbers that are automatically filled out as a widget is visually positioned in a design window. The specified absolute position of the widget can be associated with a particular dimension version by providing duplicate fields for individual widget properties in widget interface 202 and labeling the duplicate fields with the dimension version they are associated with. The specified absolute position of the widget could also be associated with a particular dimension version by switching window 201 and widget interface 202 so that they instantaneously only reflect the dimension version that is currently being viewed and edited. Any edits made to a widget would then be applied to that particular dimension version until another version was selected. Finally, a state could be associated with a particular widget through the use of the gallery display approach in which edits made to the sub-window displaying a particular dimension version would be associated with only that dimension version.

Although the example of an absolute position property was used in the previous paragraph, the various methods of associating a property with a specific dimension version described above apply to other properties. Widgets added to a design using widget interface 202 can have various responsive user definable properties. These properties can all be configured to be responsive by defining different values for the properties in different dimension versions. For example, a text property of a widget could be set such that the widget's text content was “Click Here to Login with Password” in a tablet dimension version, and “Login” in a Smart Phone dimension version. As described in the previous paragraph, the widget interface 202 could allow a user to specify an absolute position for the widget at a given dimension version. Furthermore, the widget interface 202 could also allow a user to specify different colors, font styles, image resolutions, line weights, rich text formatting, relative positioning, and any property that can be defined in a CSS style sheet for a widget. The widget interface 202 could also allow a user to specify a different text content for a widget at different dimension versions. For example, a text box containing a large amount of informative text in a large dimension version could be condensed to a summary format in a smaller dimension version.

The user definable properties specified using widget interface 202 can also be event handlers and associated interactive properties. Interactive properties include the ability to provide additional information in response to a user input and generally responding to stimulus from a person utilizing the design. These properties could be made responsive. For example, a widget could link to one page in one dimension version, and link to a different page in another dimension version. As another example, the widget could either contain a link or be completely non-interactive at different dimension versions. Event handlers could be added to the widgets to facilitate their interactive properties, and the event handlers could be made responsive to facilitate the responsiveness of those interactive properties. For example, the widget could be a button with a “show panel A” event handler and a “show panel B” event handler for its OnClick event, and panel A could be displayed when the button is clicked while the player was a certain size and panel B could be displayed when the button is clicked while the player was at a different size. Further, the event portion of the event handlers could be made responsive such that the widget would execute a certain action upon an OnClick event in one dimension version, and execute the same action upon an OnMouseEnter event in another dimension version. In either case, the event handlers could also be conditional on the dimension version being rendered regardless of the size of the player.

All of the widget properties described above can be specified in various ways. For example, the widget specification interface 202 can change its appearance such that it can be used to specify any property that is modifiable on a particular widget. For example, if the widget were a text box, the widget specification interface could change to include an input field for typing in the text to appear in the text box. Many of the properties for the widgets could also be specified in window 201 directly. Keeping with the example of a text box, a user could select a text box that was already in the window 201 and be provided with a cursor in the text box to begin specifying the text directly in the text box itself. A user could also possibly right click on a widget in window 201 or use some other unique selection mechanism to bring up a list of properties for the widget that can be specified directly on the widget.

The dimension specifications can take on various forms. Dimension specifications could be equivalent to a width of an area afforded to render a design, a height of an area afforded to render a design, both a height and a width, a diagonal dimension, and any other dimension or set of dimensions that could be associated with an space afforded to render a design—including a scalar value for the area of the space itself. The wide assortment of dimension specifications is important because of the large number of players that designers must consider when specifying a design. For example, if the only value allowed was a scalar value for the area of the rendering space, a user would not be able to create a design that was responsive to a screen with variant orientations (e.g., a smart phone that can display a design in portrait or landscape mode that has the same total area in either situation).

The relationship between dimension specifications and dimension versions can take on various forms. As described above, a dimension version can be added to the design every time a dimension specification is specified. The dimension specification could then serve as a target dimension for that dimension version. For example, the Smart Phone dimension specification could serve as a target dimension for the Smart Phone dimension version such that when the design was rendered at the precise Smart Phone dimension specification, the Smart Phone dimension version would be rendered. As another example, the Smart Phone dimension specification could serve as a trigger point or threshold dimension such that any time the design was rendered on a device having a relevant rendering space dimension that was less than the Smart Phone dimension specification, the Smart Phone dimension version would be rendered instead of the Default dimension version. If multiple dimension specifications were added, and each was associated with a different dimension version, the dimension specifications could serve as multiple threshold dimensions or trigger points such that the design would be rendered in the largest version for which the device's relevant rendering space dimension was less than the dimension specification for that version.

In approaches that followed the rule articulated at the close of the last paragraph, the dimension specifications could be treated such that if a dimension were not specified, it would be assumed to be infinite. The Default dimension version would therefore not need to be associated with a particular dimension specification as infinity would be the assumed value. In addition, dimension specifications having multiple inputs, such as one that required both a width and a height, could still operate given this approach even if only a single dimension was specified. For example, if the dimension specification included a width of 3 inches, but the user did not include a height value, then the design would operate as if the height value were infinite and would only be responsive based on the width value.

A method 300 for allowing a user to specify a responsive design can be described with reference to FIG. 3. In step 301, a graphical user interface is provided to a user that displays a page of a design. The graphical user interface could be the same as graphical user interface 200 described above. In step 302, a widget characterization interface is provided to the user to allow them to add an interactive widget to the page. The widget can be added to a default dimension version. In step 303, a characterization is accepted from the user to be associated with the interactive widget in a default dimension version. In step 304, a dimension specification interface is provided to a user to allow the user to specify a second dimension version. The specification interface in step 304 could accept a specification via a manual input dimension specification and the automatic creation of an associated dimension version, the selection of a default or previously user-defined dimension version, or through the adjustment of an adjustable window and the selection of the instant window size as a dimension specification and the automatic creation of an associated dimension version. In step 305, a second characterization for the widget is accepted from the user to be associated with the interactive widget in the second dimension version. Steps 304 and 305 could be executed multiple times to allow a user to specify multiple dimensions versions and to provide different characterizations for a widget in each specified dimension version. However, the widget does not need to have different states for each dimension version and as a result step 305 could be skipped for particular iterations. Accepting steps 303 and 305 could be accomplished through the use of a computing system that receives inputs from a user and routes them to a processor where the characterizations are associated with the interactive widget. The computing system could route the input from the user in an intra-computer routing network, a local area network, the Internet, or any computing system network. The computing system could be the computing system discussed below in FIG. 14.

The target dimensions in the method of FIG. 3 could be used by a final design specified in the design tool to select which states are to be applied to the widgets in the design when the design is rendered. For example, if a browser rendering a design had a screen size with a relevant dimension associated with the second dimension version, the interactive widget would be rendered in accordance with the second characterization. Then, if the browser's screen size was adjusted so that it had a relevant dimension associated with the default dimension version, the interactive widget would then be rendered according to the other characterization.

A specific example of how the method described with reference to FIG. 3 could operate with a specific graphical user interface can be described with reference to FIGS. 4 a and 4 b. FIG. 4 a displays a graphical user interface 400 comprising a widget characterization interface 401 and a dimension specification interface 402. In this example, the widget characterization interface is an absolute position specification interface configured to accept x- and y-coordinates for the widget. Interface 401 would be provided to the user in step 302 above. The absolute position could be specified using an x- and y-coordinate entered by the user into widget characterization interface 401 and accepted in step 303. In step 304, the dimension specification interface could be provided to the user in the form of dimension specification interface 402 or 404. If the specification interface 402 was provided to the user, another portion of the specification interface would be necessary for the user to add the “Smart Phone” button to allow the user to select a different dimension specification. This button could be added by any of the methods described above including selecting from default sizes already known to the tool or specifying the new dimension specification manually. Once selected, the button “Smart Phone” could switch the editing and viewing mode to that dimension version. Then, in step 305, a second characterization in the form of a second absolute position of the same widget could be defined using the same interface 401 as was used in step 302 to specify a new set of x and y coordinates for the widget at the “Smart Phone” size.

The characterizations of the widget that are specified according to the method in FIG. 3 above can be stored at the same location in a computer memory. The default and second characterizations of the widget can be stored in a computer memory after being accepted from a user in a step of storing the default and second characterizations in a memory. Furthermore, for properties that are not specified as having different values in the different dimension versions, the value for the property can be stored in the same location in memory. For example, a button that has a text property with text content that changes from one dimension version to another and an absolute position that changes as well, could have a color property that stays the same regardless of what dimension version the button is rendered in. In that situation, the value for the color property for that widget could be stored in the same location in memory and the property would be common for the different states of the widget.

Once a widget has been specified to have multiple states for multiple dimension versions in a design, how the widget responds to various dimension specifications can be verified while in the tool. A method 500 for displaying the responsiveness of a design in the tool according to the various dimension specification can be described with reference to FIG. 5. The methods of FIG. 5 can begin immediately after the specifications have been received as described in FIG. 3, or it can begin after the two widget states have been received according to any other method. In step 501, a resize instruction is received from the user. For example, the resize instruction can be received from the selection of a button, the selection of an entry in a pull down menu, or by clicking and dragging a window adjustor input to resize a window. The resize instruction will resize the page such that it has a resized dimension. In step 502, a resized version of the page is provided to display to the user in response to the received resizing instruction. In the simplest case, the resized dimension will not alter the relationship of the tool display to the dimension specifications. As a result, the widgets in the design are rendered without modification.

In embodiments where a dimension specification is used as a threshold—where one dimension version of the design is rendered below the threshold and another is rendered above the threshold—an interactive widget will be rendered with one characterization if the resized dimension is larger than the dimension specification, and another characterization if the resize instruction selects a dimension that is smaller than the dimension specification. For example, in the method displayed in FIG. 5 the method will move to step 503 if the resized dimension is larger than the dimension specification and will move to step 504 if the resized dimension is smaller than the dimension specification. The design will be rendered in accordance with a default dimension version in step 503 and a second dimension version in step 504. Note that if a second dimension specification had been specified previously, the characterization displayed could depend on the relative sizes of the two dimension specifications. For example, in the method displayed in FIG. 5 if the second dimension specification were less than the first dimension specification, the method would move to step 505 if the resized dimension is less than both of the dimension specifications. In step 505 the design would be rendered according to a third dimension version associated with the second dimension specification.

In embodiments of the present invention where different states are specified for widgets in various dimension versions, certain benefits accrue as compared to the related art. In particular, the fact that the same widget exists as part of the design in each of the dimension versions facilitates the modification and creation of the design. Used in combination with the different size editing modes described below, editing the entire design can be done easily by editing the widget in a single dimension version and having the edit selectively propagate throughout the design. In specific embodiments of the invention, this is facilitated by storing characterizations for the widget at common locations in a memory. The memory will store the widget along with a set of values for properties of the widget in the first state and second state. Particular values for a property of the widget that is the same in the first state and second state will be stored at a single location in memory. By applying this method and other approaches, the widget will be treated as a single unitary element by the computer system used to provide the design environment, thereby providing efficiency to both the design process and the computer resources needed to store the widgets used in the design.

Design Environment: Responsive Masters

In specific embodiments of the invention, the design environment will allow users to add masters to their designs. The masters may contain widgets that are specified within the master. The widgets may be responsive. Masters can serve as templates for any design element that needs to be repeated multiple times in a design. For example, a design's header, footer, and navigation content are often presented on multiple pages of the design to provide the design with a unified look and feel and to allow for easier access to the various portions of the design. However, masters can also be used to facilitate the editing of something as simple as a single image that is placed in various locations in a single design. Masters are well suited to the task of managing a responsive design because they allow for edits to be easily propagated through the design. As mentioned previously, responsive graphical design compounds the amount of design work that needs to be done for the entire design, so the ability of masters to allow for centralized management of these design efforts is therefore beneficial. Tools and methods for specifying a design using masters with responsive widgets can be described with reference to FIGS. 6-9 f.

Interfaces similar to the one described with reference to FIG. 2 can be used to specify a design using masters with responsive widgets. The masters can be selected from an interface and dragged into a design, or they can be specified through other means such as a combination of short-cut keys. However, masters can also individually be specified in their own separate design windows, and then be pulled in to the main design window after they have been fully defined. A user-defined master template definition can likewise be saved so that it can be easily retrieved and brought back out into the design space. Finally, although the discussion below is generally directed to masters that can be pulled into pages of a design, the teachings herein apply equally to masters that serve as pages of a design themselves.

A method 600 for specifying a design using masters with responsive widgets can be described with reference FIG. 6. In step 601, a master selection is accepted via a communication system from a user. The master selection can be of a predefined master or it can involve the separate specification of a new master and the selection of that master from a customized library. In step 602, a widget is added to the master with a specific characterization. In step 603, a dimension specification is accepted from the user via a routing system. The master can then be viewed by the user in a different dimension version and the user can choose to specify a second characterization to the same widget. In step 604, an instance of the master can be added to various pages in the design. In step 605, a property of a widget in the master can be changed which will be automatically applied to all of the various pages in the design. For example, the color of a widget's border could be changed, and the change would be propagated through to every page on which the master appeared.

An example of how this method can improve the design process for responsive designs can be described with reference to FIGS. 7 a-d. FIG. 7 a displays a web page 700, a master 701, and two widgets 702 and 703. As described above, the widgets 702 and 703 were placed within master 701 and may have been specified in a separate design window from web page 700. In this situation, widgets 702 and 703 are text elements that need to appear consistently in the location on web page 700 taken up by master 701 across multiple pages in a design. In other words, numerous pages in the design involve text located in the upper left corner of the web page in the orientation shown. FIG. 7 b displays the same web page after it has been resized to a narrower size. Note that master 701 has not changed its location, but that widgets 702 and 703 are now located in different positions relative to each other. This is because the widgets responded to the adjustment in the web page size as previously specified by the designer. FIGS. 7 c and 7 d illustrate the same web page and widgets, but also include image 704. This edit was made to the master (i.e., an image was added to the master) after the designs in FIGS. 7 a and 7 b were specified. The benefit of this approach arises from the fact that image 704 will be included throughout the design everywhere that the master is located which significantly decreases the editing required to implement the modification.

Widgets and dimension specifications can be specified for a master in the same manner that they are specified in a design generally. Notably, the position of the widget can be specified relative to the master in a proportional offset from a center or corner of the master, or through the specification of an x- and y-coordinate of the widget where the coordinate system is defined with respect to the master. Furthermore, the editing methods used to specify the characteristics of a master can overlap the editing methods used to specify the characteristics of a widget to a certain degree.

In specific embodiments of the invention, the masters themselves can be responsive. For example, a master used as a header may be modified to change the shape, appearance, and content of the master as the width of a page decreases. Since the header needs to appear on every web page, and headers generally span the entire width of a web page, they are particularly well suited to being treated as masters in a design. However, the benefits associated with responsive masters are generally applicable to any design element that is used repeatedly even if it is only used multiple times on a single page of the design.

The use of responsive container widgets and masters in a design environment provide additional benefits that can be described with reference to FIGS. 8 and 9. FIG. 8 illustrates a method 800 for specifying a design using container widgets in masters. In step 801 a master selection is accepted via a routing system from a user. The master selection can be of a predefined master or it can involve the separate specification of a new master. In step 802, a container widget is added to the master with a specific characterization. The characterization will include a position of the container widget in the master and a size of the container widget. In step 803, a dimension specification is accepted from the user. The master can then be viewed by the user and the user can chose to specify a second characterization to the same container widget. In step 804, an instance of the master can be added to various pages in the design. In step 805, a property of the master can be changed which will be automatically be applied to all of the various pages in the design.

Method 800 can also include steps 806 and 807. As shown in the figure, these steps can be conducted after the instance of the master is added to various pages in the design. In step 806, a widget is added to a container widget. Then in step 807, different characterizations are accepted for the widget that was added in step 806. The different characterizations can be applied to create different states for the widget that are associated with different dimension versions. Unlike the change made to a property of the master in step 805, the widget addition and characterization in steps 806 and 807 will only modify a single instance of the master. This is because the container widgets are associated with the master but the contents of the container are not. The net effect of this procedure will be that a degree of responsiveness associated with the master can be edited separately from a degree of responsiveness associated with widgets that are placed in the container widgets in the masters.

An example of the results of this method can be described with reference to FIGS. 9 a-9 f. FIG. 9 a displays a page 900 of a design including a master 901 and two container widgets 902 and 903. The container widgets 902 and 903 are defined so that when the page is resized as shown by comparing FIG. 9 a and FIG. 9 b, the container widgets 902 and 903 are located in new positions in master 901. FIG. 9 c displays page 904 with another instance of master 901 including additional widgets that have been added to container widgets 902 and 903. As illustrated in FIG. 9 c, one of the additional widgets is a text block and one of the additional widgets is an image of a tree. FIG. 9 e displays page 905, which is a different page of the same design having a still further instance of master 901. The instance of master 901 on page 905 includes additional widgets that have been added to container widgets 902 and 903. As illustrated in FIG. 9 e, one of the additional widgets is a text block and one of the additional widgets is an image of a sun. Note that the responsiveness of the containers is maintained while the content of the pages is different as illustrated by comparing FIGS. 9 d and 9 f to FIGS. 9 c and 9 e respectively. Therefore, the responsiveness of the layout can be centrally managed by editing the container widgets in master 901 while the content of the individual pages can be specified independently by editing the content of the container widgets 902 and 903 on pages 904 and 905.

Using container widgets, it is therefore possible to segment aspects of a master that will be editable from a single instance of the master from aspects that will only change locally. This provides another degree of freedom to the designer to aide in maintaining design flexibility while maintaining enough interrelationships in the design to facilitate easy manipulation of the design as the design process continues.

Design Environment: Local and Global Editing

Embodiments of the present invention that are described above facilitate the specification of a responsive design across dimension versions and various pages of a multi-page design. In particular, embodiments in which a single widget is rendered across various dimension versions allow edits made to that specific widget to propagate quickly through all dimension versions of the design because it is the same widget in each version. However, dimension versions of a responsive design are necessarily distinct which means that the states of widgets in each dimension version must be distinguishable. Therefore, embodiments of the present invention described below also enable a user to quickly specify whether a characterization will modify a widget in a limited set of dimension versions or if it will modify the widget globally across all dimension versions.

A method 1000 of specifying a design using different editing modes can be described with reference to FIG. 10. Method 1000 begins with a step 1001 of selecting an editing mode. Method 1000 can be used in combination with any of the methods described previously. In specific embodiments of the invention, the editing modes that can be selected include a single-dimension editing mode, an all-dimension editing mode, and a multi-dimension editing mode. Step 1001 can also be preceded by step 1002 in which a subset of dimension versions are grouped to define the dimension versions that will be edited in the multi-dimension editing mode. In step 1001, a user selects one of the editing modes described previously. The method then proceeds in different branches depending upon the selection made in this step.

The user can select an editing mode in step 1002 in various ways. In specific embodiments of the invention, the default mode will be a single-dimension editing mode in which widgets will only receive specifications for the dimension version of the design that is currently being viewed or that is currently selected. In these embodiments, a user may be required to select an all-dimension or multi-dimension editing mode from a pull down menu before that editing mode will be entered. An interface for allowing the selection of an editing mode in step 1001 could be triggered automatically the first time a specification is added to a widget after a new dimension specification has been added to the design. For example, if a new dimension is added, the next time a user tries to specify a characteristic for a widget a pop up window could ask the user to specify whether or not the edit should apply globally, only to the current dimension version, or if the current dimension version should be added to a predefined sub set of dimension versions that are edited in the multi-dimension editing version.

Various measures could be provided to prevent unwanted edits being added to a design. A distinct flag could be included in the graphical design environment to inform a user what the current editing mode is to prevent the user from applying changes to other dimension versions without seeing those changes being made. For example, the text GLOBAL could appear in colored text in the gutter of the window used for the graphical design environment whenever the tool was in all-dimension editing mode. This would prevent users from mistakenly editing dimension versions they did not intend to modify. Likewise, the gallery view described previously could be employed to prevent unwanted changes by opening and closing dimension versions automatically when they are being edited. For example, the all-dimension editing mode would open a window for each of the dimension versions that were then known to the design environment. The gallery view could also be terminated automatically when the user returns to the single-dimension editing mode. Also, warning prompts could be displayed on the screen when a sub-set of characteristics are being modified in an all or multiple-dimension editing mode particularly when the characteristics being edited are those that are not usually specified differently in various dimension versions.

In a specific embodiment of the invention, the single, multiple, and all dimension editing modes are specified in a highly customizable way by a user operating on a list of dimension specifications such as those found in dimension specification interface 204. In specific embodiments of the invention, a user can select between all available single-dimension editing modes by selecting different dimension specifications in dimension specification interface 204. For example, by selecting the Default button, the user will enter a single dimension editing mode directed towards editing the default dimension version. Likewise, by selecting the Smart Phone button, the user will enter a single dimension editing mode directed towards editing the Smart Phone dimension version. In addition, the user may select additional buttons in the dimension specification interface 204 to select between various multi-dimension editing modes, and may select all of the buttons in the dimension specification interface to select an all-dimension editing mode. Multiple buttons can be selected by holding down a key such as the SHIFT key and clicking on various buttons. Furthermore, the dimension specification interface could include a list of dimension versions and a series of check boxes next to each label by which multiple versions could be selected for editing by selecting the various check boxes.

If a user selects the single-dimension editing mode, the method will continue with step 1003 in which a user is able to specify characteristics of the widget that will only apply to the widget when it is rendered in the dimension specification that the user is currently editing and/or viewing. Method 1000 includes an optional step 1004 that disables certain interface controls in this mode. For example, a name of the widget might not be capable of being changed in this mode because the name is used to recognize the widget regardless of which dimension version the widget is being viewed at or edited in. If a user selects the all-dimension or multi-dimension editing mode, the method will continue with step 1005 in which a user is able to specify characteristics of the selected widget that will apply to the widget when it is rendered in multiple dimension versions. The multiple dimension versions to in which the specification will apply depends on which editing mode the user has selected and which dimension versions are included in the multi-dimension editing mode. Regardless of the editing mode selected, the method concludes with step 1006 in which the specifications are applied to the widget for the applicable dimension versions.

The manner in which the specifications are applied to the widget in step 1006 can be implemented in various ways. As described previously, specific property values that are shared between various dimension versions can be stored once in the model of the design. This shared value could be considered a “base” value for the property. If the specification applied in step 1006 was being applied to a limited set of dimension versions, the value could be stored as an override over the base value and be linked to that limited set of dimension versions. Likewise, an all dimension specification could be applied in step 1006 by changing the base value and clearing all overrides for the property stored in the model. In embodiments in which the property values for the widget in each dimension version are stored separately, the application of the specification in step 1006 would follow a more straightforward approach of changing the property values for the dimension versions that were being edited.

Design Environment: Resize Events

As described above, a user is able to specify a design that responds to adjustments to a rendering space afforded the design by altering the state in which a widget is rendered. In similar fashion and using the same design environment, a user may also be able to specify a design that responds to adjustments to the rendering space afforded the design by executing actions when the rendering space is adjusted. The resulting functionality could be displayed in window 201 or it could be imparted to the design only once it has been exported from the design environment. These actions could be added for specific transitions such as a transition to a particular dimension version or a transition between a particular set of dimension versions.

The design could be specified such that actions were executed when a rendering space afforded the design was resized. An event handler could be added to the design and made conditional on the width of the rendering space being equal to, less than, or more than, a dimension specification. The event handler does not need to be associated with a widget as it could instead be associated with the design in other ways. The event handler could utilize an OnResize event to execute the desired action when a rendering space was adjusted. The event handler in this case can be described as “listening” for the OnResize event. Upon the occurrence of the OnResize event, the event handler would compare the current size of the rendering space to one or more preset dimension specifications and then selectively execute its associated action. For example, a page could have a “show display panel” event handler, and the panel could be displayed when a width of a player used to render the design was set to a certain size.

The design could also be specified such that actions were executed when a specific dimension version was selected for rendering, regardless of the rendering space afforded for that version. For example, a viewer of the design may be able to display a Smart Phone dimension version of a design without changing the size of a player that was previously being used to render a Desktop dimension version of the design. This functionality could be afforded in various ways. For example, a “fake” event could be added to the design that fires whenever the dimension version being rendered changes. The event is “fake” because a browser used to render the design will not have an equivalent event. This fake event could be “heard” by the associated event handler and be used by the event handler to execute its action just as if the rendering space had been resized and the OnResize event had dutifully fired. As another example, the input used to select the new dimension version could be set to trigger the action directly. This approach would not require the firing of an event to be detected by the design code.

Exported Design: Responsive Encoding and Presentation

Designs specified in a design environment using the tools and methods described above can be used to generate an instantiation of the design for rendering in an external player. In specific embodiments of the invention, the design will be exported from the tool in the form of an instantiation that can be stored and rendered externally to the tool at any time. The exported design could be a prototype of a web page or web site and the external player could be a web browser. In such cases, the instantiation of the exported design could be encoded entirely in style sheet and markup language even though the in-tool renderings of the design might not utilize any markup language. The degree to which the responsive nature of the design is expressed in the generated instantiation of the design may be configurable by a user. Likewise, the nature of the instantiation in terms of how it enables its responsive nature may be configurable by a user. The responsiveness of the designs is determined by the processes uses to specify the design. The states to which the widgets are modified in each dimension version are predefined states that depend solely on the display dimensions of the rendering space of the external player. Tools and methods for defining the nature of exporting and the nature of the exported instantiation of a design can be described with reference to FIGS. 11-13.

In specific embodiments of the invention, the generated instantiation of the design can have varying degrees of the design's responsive nature expressed. For example, a user may choose to export an instantiation of the design that is not responsive. The user could select a particular dimension version and generate an instantiation based strictly on that dimension version. As another example, a user could generate an instantiation of the design that is not responsive to any dimension of the rendering space afforded by the external player, but that still contained all of the dimension versions associated with the design. This instantiation could be exported with an encoding of a selector box that would allow a viewer of the rendered instantiation to select between the different dimension versions. The selector box could be displayed on each page of the design across all dimension versions and could include a set of buttons that could be pressed to switch the rendered design between one dimension version and another. Finally, a user could of course generate an instantiation of the design that was fully responsive to a dimension of the rendering space afforded by the external player as was specified in the design environment.

A selector box such as the one described in the previous paragraph can be better understood with reference to FIG. 11. FIG. 11, displays the dimension versions of a single page in a design that were illustrated in FIG. 2 with the addition of selector box 1100. A viewer of the exported design could click on a check box to indicate which of the dimension versions of the design the viewer wanted to view. After switching to the dimension version, the viewer would be able to navigate through the design and view the various pages at the same dimension version and could switch to a different dimension version at any time by making a different selection in selector box 1100.

In specific embodiments of the invention, the generated instantiation can enable its responsiveness in various ways. For example, the generated instantiation could comprise media queries in an encoding of the instantiation, the generated instantiation could include an object model event used to trigger a script, or it could include entire instantiations of each dimension version of the design linked together using a selector such as selector 1100. Each of these options is described in more detail below.

Media queries are markup language definitions that a browser understands and uses to automatically apply style sheets to a design. As such, they provide a way to enable responsiveness in a design. The variables of a media query could be set to a dimension specification of the design, and the style sheet associated with the media query could be defined to set a characteristic for a particular widget as required by a dimension version associated with that dimension specification. For example, a widget may be a text box that was specified to use 12 point font in a default state and 10 point font when a rendering space width for the design was less than 10 inches. The media query feature utilized in this example would be the “width” feature and the condition would be “less than 10 inches.” The associated style sheet for the particular media query would set the font used in the text box to 10 point font. Media queries are intrinsic to browsers so they are very efficient. However, they are limited to providing responsiveness only to characteristics of a widget that can be modified by a style sheet. A different approach should be used for deeper responsive design.

Object model event handlers listen to various programming objects to monitor their characteristics and execute an event when those characteristics meet certain conditions. In specific embodiments, these object model event handlers can be used to provide a responsiveness characteristic to exported instantiations of a responsive design. For example, the object monitored by the object model could be a page used to render the design. The event could be an on Resize event such that every time the page was resized, the event would execute and determine a current dimension of the rendering space used for the design. Based on a comparison of this dimension to the dimension specifications, which would also be encoded in the design, the encoded instantiation could run a script to modify the design. The script would alter the design being provided to the external player such that a different dimension version would be rendered by the player. The script could be a javascript. Since the modifications to the design provided by object models are only limited by what can be encoded in a javascript, the designs can exhibit deep degrees of responsiveness including the ability to have interactive properties of the widgets in the design change based on the current rendering space afforded to the design.

The responsiveness of exported designs that include a selector could be enabled in various ways. For example, the responsiveness could be enabled by exporting each dimension version of the design as a separate instantiation with the addition of links between each set of corresponding pages in the dimension versions. In these embodiments, this added functionality would only require the different dimension versions to be modified to include markup language defining the selector on each page. When selected, the selector could serve to link a user from one page of a dimension version to another corresponding page of a different dimension version. The viewer would then be able to navigate through one dimension version for as long as desired before transferring back to the prior dimension version using the link provided in the selector. As another example, the responsiveness of the design could be enabled through the use of frames. The instantiation could be exported such that, when rendered, a frame was provided in the rendering space that contained the selector. That frame would not change throughout the rendering of the design, but would instead remain static while different pages of the design were rendered by the browser in another frame in the rendering space.

Instantiations of responsive designs that are in accordance with the previous paragraph would allow someone to demonstrate the responsiveness of the design without having to actually resize the player. In specific situations, this approach would provide an advantage for people that are attempting to review a prototype of a web page because it can be helpful to analyze each dimension version with the same degree of scrutiny while still being assured that each dimension version of the design has been completely specified.

A user can choose to export an instantiation of a design from the design environment using an export interface. The export interface will provide a connection between the user and an export module that is used to generate the exported instantiation of the design. The export interface can be accessible from the graphical design interface discussed above with reference to FIG. 2. The export interface could be a permanent button displayed on the graphical design interface, a selectable option in a pull down menu, or it could be a more complex window displaying various selectable options to specify the nature of the export. The complex export interface could allow the user to specify what degree of responsiveness the instantiation will exhibit as described above. Likewise, the export interface could allow the user to specify how the responsiveness of the design will be enabled. For this option, certain options may be prohibited based on what characteristics of the design's widgets have been made responsive. For example, in a design in which the interactive properties of a widget have been made responsive, the option to export an instantiation where media queries provide the responsiveness of the design may be prohibited in the export interface.

A method 1200 for exporting and displaying an instantiation of a responsive graphical design that has been specified through the use of any of the tools and methods described above is illustrated in FIG. 12. In step 1201, the design is exported from the design environment. Prior to this step, the design could have been specified in accordance with any of the methods described above, and the nature of the export could have been selected by a user using any of the methods described above as well.

In step 1202, an instantiation of the design is rendered in an external player. The player can display a predetermined dimension version of the design. The design can execute a script to sense the rendering space afforded by the player, or any other characteristic of the player, and enable the player to render the design in a particular dimension version based on the sensed characteristic. Finally, the player may determine the proper dimension specification to apply itself based on markup language media queries and render the appropriate dimension version without using a script. Note that the player may render the design differently than the encoding specifically requires, in particular, an offset may be applied to any absolute positioning specification for the rendered widgets.

In step 1203, a rendering space dimension of the external player is adjusted by a viewer of the design. This step may be conducted to view the responsive nature of the design. The method will then continue to step 1204 in which the resizing of the design is detected and it is determined if a change in the rendered dimension version is required. This can be done by sensing the new size of the rendering space of the external player and comparing it to the dimension specifications. If a change is required, the method will continue to step 1205 as described below.

In step 1206, another dimension version is selected for rendering without adjusting the rendering space dimension of the external player. This could be done by hitting a short cut key or selecting a different dimension in a selector as described above. The purpose of these approaches is to allow a viewer to analyze the design as it would appear at different dimension versions, but using the same sized viewer for each of the versions.

In step 1205, code is executed to render a different dimension version of the design in the player as initiated by steps 1206, or steps 1203 and 1204 in combination. The code could be javascript that modifies a state of particular widgets in the design so that they appear in a state that matches the newly rendered dimension version. The code could also be HTML associated with a different web page that can be used to render that different web page and display the required dimension version. The different code executed in this step will depend on the manner in which the exported instantiation was generated. In step 1207, the newly rendered dimension version will be displayed in the external player with the widgets in the design rendered according to how they were specified in the particular dimension version being displayed.

FIG. 13 displays another method 1300 for rendering a responsive graphical design in accordance with embodiments of the present invention. In step 1301, a graphical design with at least one widget is rendered to allow for a display of the graphical design in a window with an adjustable dimension. The graphical design can be a web page and the at least one widget can be an interactive widget. The graphical design can be an instantiation of a design that was specified using any of the tools and methods described above, and can be encoded in an encoding generated during any export or generation process described above. In step 1302, the widget is rendered in the design in a first state. In step 1303, an adjustment to the adjustable dimension is detected using an object model event detecting javascript function that is encoded in the same encoding as the design itself. Step 1303 can utilize an on-resize event. In step 1304, an event handler portion of the object model event detecting javascript function is executed in response to the detected adjusted dimension. In step 1305, the execution of the event handler causes the rendering of the widget in a second state that is selected by a processor based on a comparison of the detected adjustable dimension and a set of preset dimension definitions. The first state and the second state can differ as to the interactivity of the widget. The preset dimension definitions can be encoded in the same design encoding. The preset dimension definitions can include a width value, a height value, a combination of the two, or any other physical dimension.

Although embodiments of the invention have been discussed primarily with respect to specific embodiments thereof, other variations are possible. Various configurations of the described system may be used in place of, or in addition to, the configurations presented herein. Those skilled in the art will appreciate that the foregoing description is by way of example only, and is not intended to limit the invention. For example, more than one user could specify the design in the design environment in collaborative fashion working with other users, the design could be for the design of an electronically circulated periodical, the dimension specifications could be determined ahead of time and labeled in accordance with a set of popular aspect ratios or devices, the designs could be specified in three dimensions such that the dimension specifications could specify a volume used to render the design, the masters could have container widgets in predefined locations for masters that are to be used as headers or footers, and the predefined containers in the master could be configured to respond in predefined ways to the predefined dimension specifications. Furthermore, nothing in the disclosure should indicate that the invention is limited to systems and methods that involve web browsers. In general, any diagrams presented are only intended to indicate one possible configuration, and many variations are possible. Those skilled in the art will also appreciate that methods and systems consistent with the present invention are suitable for use in a wide range of applications encompassing any related to responsive graphical designs.

Any of the methods described herein can be conducted through the use of a computer system 1400 as shown in FIG. 14. For example, the design environment could be provided by a processing system 1401 acting in tandem with a memory 1402. A user 1403 would be able to access the design environment through the use of a routing system 1404 and a user interface system 1405. Any method steps involving providing or accepting things to and from a user can be conducted using interface system 1405. Any method steps involving executing an action can be conducted using processing system 1401 alone or in combination with memory 1402. FIG. 14 is only an illustrative computer system that is amenable to operation in accordance with embodiments of the present invention and variant computer system topologies may be used in its stead. Nothing in this description should limit the processor of processing system 1401 to a single processor, as the function of this block can be accomplished by multiple physical processors located either on a single work station or server, or distributed through a network. It is not essential for memory 1402 to be physically distinguishable from processing system 1401, as they are merely illustrated as separate blocks for purposes of invoking common conceptions of how computing systems operate. Routing system 1404 could be the internal routing system of a single work station, a LAN, a WAN, a wired or wireless network, the Internet, or any other system capable of routing signals. User interface system 1405 could be a work station, a computer, a mobile phone or other mobile device, or any computing device or group of computing devices capable of receiving inputs from a single user or group of users. FIG. 14 should also not be taken to indicate that the invention can only involve design environments or design programs that may only be accessed by one user as there could be multiple users 1403 and that group of multiple users 1403 could access the design environment using any number of routing systems 1404. Those users could also access the design environment simultaneously.

While the specification has been described in detail with respect to specific embodiments of the invention, it will be appreciated that those skilled in the art, upon attaining an understanding of the foregoing, may readily conceive of alterations to, variations of, and equivalents to these embodiments. These and other modifications and variations to the present invention may be practiced by those skilled in the art, without departing from the spirit and scope of the present invention, which is more particularly set forth in the appended claims. 

What is claimed is:
 1. A system comprising: an instantiation of a design for rendering in a rendering space, said instantiation using an encoding and a processor, said encoding including markup language code and a script; a widget forming a portion of said design and being encoded in said encoding; and an export module for generating said encoding from a specification of said design; wherein an object model event is utilized to (i) sense a change in a rendering space dimension and (ii) change said widget to a predefined state in response to said change.
 2. The system of claim 1, further comprising: a web page being encoded in said encoding, said web page serving as a container for said widget to be visually instantiated in, and said widget being visually instantiated when said processor renders said instantiation of said design in said rendering space; wherein said predefined state is one of a set of predefined states; and wherein said predefined state is selected from said set of predefined states using a process with an output that varies solely with said rendering space dimension.
 3. The system of claim 2, wherein said object model event is an on-resize event.
 4. The system of claim 3, wherein an object for said on-resize event is said web page.
 5. The system of claim 1, wherein: said encoding includes a set of trigger points, each one of said trigger points being associated with a different predefined state from a set of predefined states that includes said predefined state; said trigger points define a set of rendering space dimensions; said object model event is an on-resize event; and said widget is configured to be modified in response to said on-resize event between two of said predefined states based solely on said trigger points and said rendering space dimension.
 6. The system of claim 5, wherein said trigger points include both a width value and a height value.
 7. The system of claim 5, wherein: said encoding includes a javascript that is executed upon said on-resize event; and said javascript enables said widget to respond to said change in said rendering space dimension.
 8. The system of claim 7, wherein said widget has a user-added event handler.
 9. The system of claim 8, wherein said set of predefined states defines a set of at least two different absolute positions for said widget on said web page.
 10. A method comprising: rendering a graphical design to allow for a display of said graphical design in a window having an adjustable dimension, said graphical design including a widget and being encoded in an encoding; rendering said widget in said graphical design in a first state; detecting an adjustment to said adjustable dimension from a first dimension to a second dimension using an object model event; executing, upon detecting said adjustment, an event handler javascript function, using a processor; and rendering said widget in said graphical design in a second state in response to said executing step; wherein said second state is selected by said processor based on a comparison of said second dimension and a set of preset dimension specifications; and said javascript function is encoded in said encoding.
 11. A computer readable medium containing an encoding capable of executing the method of claim
 10. 12. The method of claim 10, wherein: said graphical design is a web page; and said widget is an interactive widget.
 13. The method of claim 12, wherein said object model event is an on-resize event.
 14. The method of claim 13, further comprising: comparing said second dimension to a preset dimension specification in said set of preset dimension specifications in response to said executing step; wherein said preset dimension specification consists of a width value and a height value.
 15. The method of claim 14, wherein an interactivity of said widget when said widget is rendered in said first state differs from said interactivity of said widget when said widget is rendered in said second state.
 16. A tool for designing a web page prototype comprising: a graphical design environment allowing a user to specify said web page prototype, said graphical design environment having a window for displaying a rendering of said web page prototype; a dimension specification interface allowing said user to specify a dimension specification; a widget interface allowing said user to (i) add a widget to said web page prototype, and (ii) specify a first state and a second state for said widget; and an export interface to allow a user to export said web page prototype from said tool to produce an exported web page prototype; wherein said exported web page prototype utilizes an object model event to adjust a state of said widget from said first state to said second state.
 17. The tool of claim 16, wherein said object model event is an on-resize event.
 18. The tool of claim 16, wherein said exported web page prototype adjusts said state of said widget based on said dimension specification, device parameters defining characteristics of a device used to render said exported web page prototype, and a dimension of a browser window, said browser being used to render said exported web page prototype.
 19. The tool of claim 18, wherein said exported web page prototype adjusts said state of said widget based solely on said dimension specification and said dimension of said browser window.
 20. The tool of claim 16, further comprising: a design view window configured to allow said user to view said web page prototype as it is being designed by rendering said web page prototype from an in-tool encoding; and a responsive design emulator for altering said state of said widget between said first state and said second state in response to said dimension specification being selected from a list of defined dimension specifications.
 21. The tool of claim 20, wherein said dimension specification interface allows a user to specify a height value and a width value for said dimension specification. 